package com.hospital.insurancedip.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lvyao
 * @since 2021-02-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("INP_BILL_DETAIL")
public class InpBillDetail implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("PATIENT_ID")
    private String patientId;

    @TableField("VISIT_ID")
    private Integer visitId;

    @TableField("ITEM_NO")
    private Integer itemNo;

    @TableField("ITEM_CLASS")
    private String itemClass;

    @TableField("ITEM_NAME")
    private String itemName;

    @TableField("ITEM_CODE")
    private String itemCode;

    @TableField("ITEM_SPEC")
    private String itemSpec;

    @TableField("AMOUNT")
    private BigDecimal amount;

    @TableField("UNITS")
    private String units;

    @TableField("ORDERED_BY")
    private String orderedBy;

    @TableField("PERFORMED_BY")
    private String performedBy;

    @TableField("COSTS")
    private BigDecimal costs;

    @TableField("CHARGES")
    private BigDecimal charges;

    @TableField("BILLING_DATE_TIME")
    private Date billingDateTime;

    @TableField("OPERATOR_NO")
    private String operatorNo;

    @TableField("RCPT_NO")
    private String rcptNo;

    @TableField("SPECIAL_CHARGES")
    private BigDecimal specialCharges;

    @TableField("FREE_LIMIT")
    private BigDecimal freeLimit;

    @TableField("REFUND_ITEM_NO")
    private Integer refundItemNo;

    @TableField("DEDUCT_INDICATOR")
    private Integer deductIndicator;

    @TableField("BARCODE")
    private String barcode;

    @TableField("CLASS_ON_INP_RCPT")
    private String classOnInpRcpt;

    @TableField("SUBJ_CODE")
    private String subjCode;

    @TableField("CLASS_ON_MR")
    private String classOnMr;

    @TableField("CLASS_ON_RECKONING")
    private String classOnReckoning;

    @TableField("ITEM_PRICE")
    private BigDecimal itemPrice;

    @TableField("PRICE_QUOTIETY")
    private BigDecimal priceQuotiety;

    @TableField("DISCHARGE_TAKING_INDICATOR")
    private Integer dischargeTakingIndicator;

    @TableField("WARD_CODE")
    private String wardCode;

    @TableField("ORDER_GROUP")
    private String orderGroup;

    @TableField("ORDER_DOCTOR")
    private String orderDoctor;

    @TableField("PERFORM_GROUP")
    private String performGroup;

    @TableField("PERFORM_DOCTOR")
    private String performDoctor;

    @TableField("CONVEY_DATE")
    private Date conveyDate;

    @TableField("DOCTOR_USER")
    private String doctorUser;

    @TableField("TRANSFLAG")
    private String transflag;

    @TableField("MEMO")
    private String memo;

    @TableField("OPER_TYPE")
    private String operType;

    @TableField("OPER_ID")
    private Integer operId;

    @TableField("OPER_CODE")
    private String operCode;

    @TableField("PRINT_FLAG")
    private Integer printFlag;

    @TableField("DOCTOR_IN_CHARGE")
    private String doctorInCharge;

    @TableField("ATTEND_DOCTOR")
    private String attendDoctor;

    @TableField("HOSP_APPR_FLAG")
    private String hospApprFlag;

    @TableField("OLD_BILLING_DATE")
    private Date oldBillingDate;

    @TableField(exist = false)
    private String drugClassCode;

    @TableField(exist = false)
    private BigDecimal ownPayPercent;

    @TableField(exist = false)
    private String bilgDeptCodg;

    @TableField(exist = false)
    private String bilgDrName;

    @TableField(exist = false)
    private String bilgDrCodg;


    @TableField(exist = false)
    private String bilgDeptName;


    @TableField(exist = false)
    private String itemType;


}
